import java.util.Scanner;

public class Distance {
    public static void main(String[] args){
        int x,y;
        float distance;
        Scanner in=new Scanner(System.in);
        System.out.print("请输入x:");
        x=in.nextInt();
        System.out.print("请输入y:");
        y=in.nextInt();
        System.out.println("正在计算");
        distance=(float) Math.sqrt(x*x+y*y);
        System.out.println("("+x+","+y+")到(0,0)点的欧拉距离等于"+distance+"。");
    }
}
